#include <sys/time.h>                                                                                                             
int myclock()
{
    struct timeval start;
    gettimeofday( &start, NULL );
    return 1000000 * start.tv_sec +start.tv_usec;
}
